// import React from "react";
import { useLocation } from "react-router-dom";
import qs from "query-string";
type Props = {};

export default function Prod1({}: Props) {
  let location = useLocation();
  console.log(location);
  let user = qs.parse(location.search);

  return (
    <div>
      Prod1,{user.name}--{user.score}
    </div>
  );
}
